package com.yunmai.cloud.web.services.impl;

import com.yunmai.cloud.web.domain.RealDatasEntity;
import com.yunmai.cloud.web.repositories.IRealDatasRepository;
import com.yunmai.cloud.web.services.IRealDatasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 *
 *  相关文章：https://zhuanlan.zhihu.com/p/616226055
 * </p>
 *
 * @author 赵刚
 * @since 2023-01-11
 **/
@Service
public class RealDatasServiceImpl implements IRealDatasService {

    @Autowired
    private IRealDatasRepository realDatasRepository;

    @Override
    public RealDatasEntity getByStationId(Long stationId) {
        return realDatasRepository.getByStationId(stationId);
    }
}
